package com.bt.springboot.web.service;

import com.bt.springboot.entity.SMSCode;

/**
 * @author zkx
 * @Date 2022/12/12 13:40
 */
public interface SMSCodeService {

	/**
	 * 发送验证码
	 * @param phoneNumber
	 * @return
	 */
	String sendCode(String phoneNumber);

	/**
	 * 检查验证码
	 * @param smsCode
	 * @return
	 */
	boolean checkCode(SMSCode smsCode);
}
